package com.mongo.Impl;

import com.mongo.bean.Student;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * @ClassName StudentRepository
 * @Description TODO
 * @Author louby0923
 * @Date 2024/2/2 16:36
 * @Version 1.0
 */
public interface StudentRepository extends MongoRepository<Student, Long> {
    Student findByName(String name);
}
